package trading_strategy.positions;

import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 * User: gderoujoux
 * Date: 6 mai 2010
 * Time: 11:11:29
 * To change this template use File | Settings | File Templates.
 */
public class Trade implements Cloneable {
    long ts;
    Date tradeDate;
    int signedQty;
    double price;
    String origin;

    public Trade(long ts, Date tradeDate, int signedQty, double price, String origin) {
        this.ts = ts;
        this.tradeDate = tradeDate;
        this.signedQty = signedQty;
        this.price = price;
        this.origin = origin;
    }

    public long getTs() {
        return ts;
    }

    public Date getTradeDate() {
        return tradeDate;
    }

    public int getSignedQty() {
        return signedQty;
    }

    public double getPrice() {
        return price;
    }

    public String getOrigin() {
        return origin;
    }
}
